import request from "@/utils/request";
// 登录
export const reqLoginUser = (data) => {
    return request({
        url: `swap/auth/login`,
        method: 'post',
        data
    })
}
// 短信验证码登录
export const phoneVerificationLogin=(data)=>{
    return request({
        url: `swap/auth/quickLogin`,
        method: 'post',
        data
    })
}
// 有效验证码登录
export const validCodeLogin=(data)=>{
    return request({
        url: `swap/auth/validCodeLogin`,
        method: 'post',
        data
    })
}
